<?php

namespace Interactive\Common\WebService;

/*
 * Class for web service
 */

/**
 * Calls for SOAP-based web services
 *
 * @author Dagvadorj Galbadrakh <dagvadorj@interactive.mn>
 */
class Soap {

    function __construct($wsdl) {
        $this->wsdl = $wsdl; 
        $this->client = new \SoapClient($wsdl); 
    }

    function call($operation, $params) { 
        return $this->client->__soapCall($operation, $params);
    }

}

?>
